import type {ObjectType} from '../types';

/** 用户登录DTO */
export class UserLoginDto implements ObjectType {
  email: string = '';
  password: string = '';
}

/** 用户注册DTO */
export class UserRegisterDto implements ObjectType {
  email: string = '';
  password: string = '';
}

/**
 * @swagger
 * components:
 *   schemas:
 *     UserLoginDto:
 *       type: object
 *       properties:
 *         email:
 *           type: string
 *           description: 用户的电子邮件地址
 *           example: user@example.com
 *         password:
 *           type: string
 *           description: 用户的密码
 *           example: password123
 *     UserRegisterDto:
 *       type: object
 *       properties:
 *         email:
 *           type: string
 *           description: 用户的电子邮件地址
 *           example: user@example.com
 *         password:
 *           type: string
 *           description: 用户的密码
 *           example: password123
 */
